-- GENERATED SPELL FOR [Icehollow Behemoth] --


function spell0_23744(pUnit, Event) --@Ground Smash,Self--
pUnit:FullCastSpellOnTarget(12734,pUnit)
pUnit:RegisterEvent('Sorts_23744', 2319, 1)
end

function Sorts_23744(pUnit, Event)
local choix_sorts_23744 = math.random(0, 0)
if choix_sorts_23744 == 0 then
pUnit:RegisterEvent('spell0_23744', 1, 1)
end
end

function mob23744_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23744', math.random(1500, 3000), 1)
end

function mob23744_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23744_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23744_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23744, 1, 'mob23744_Action')
RegisterUnitEvent(23744, 2, 'mob23744_Leave')
RegisterUnitEvent(23744, 3, 'mob23744_Kill')
RegisterUnitEvent(23744, 4, 'mob23744_Die')
